package org.footballmanager.pandafootball.system.domain;

import lombok.Getter;
import lombok.NonNull;
import lombok.Setter;
import lombok.ToString;
import org.footballmanager.pandafootball.system.domain.enums.QX;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * 用户表
 */
@Entity
@Setter
@Getter
@ToString
public class FootUser extends BaseEntity implements Serializable {
	@Column(name = "name", length = 200)
	private String name;
	@Column(name = "nike", length = 200)
	private String nike;
    @NonNull
	@Column(name = "password", length = 50)
	private String password;
    @Transient
    private String pwd;
	@Column(name = "ip", length = 50)
	private String ip;
	@Column(name = "qes1")
	private String qes1;
	@Column(name = "ans1")
	private String ans1;
	@Column(name = "qes2")
	private String qes2;
	@Column(name = "ans2")
	private String ans2;
	@Column(name = "email", length = 100)
	private String email;
	@Column(name = "qx")
	private QX qx;
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "zhdlsj", length = 19)
	private Date zhdlsj;
	@Column(name = "sd")
	private Boolean sd;
	@Column(name = "joins")
	private Boolean joins;
	@Column(name = "game_id", length = 18)
	private String gameId;
	@Transient
	private String yzm;
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "vip", length = 19)
	private Date vip;
	@Column(name = "first")
	private Boolean first;
	@Transient
	private Long qdId;

}